package com.dsj.gxrd.modules.activity.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.dsj.gxrd.modules.book.domain.dto.RdFileDto;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author songpin566
 * @date 2023/10/07
 **/
@Data
@ApiModel("新闻")
public class RdNewsDto {

    @ApiModelProperty("id")
    private Long rdNewsId;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("活动时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime activeTime;
    @ApiModelProperty("发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime publishTime;
    @ApiModelProperty("顺序")
    private Integer sort;
    @ApiModelProperty("内容")
    private String content;
/*    @ApiModelProperty("审核时间")
    private LocalDateTime approvalTime;
    @ApiModelProperty("审核状态 0待审核 1审核通过 2审核驳回")
    private Integer approvalStatus;*/
    @ApiModelProperty("参与人员")
    private String participantIds;
    @ApiModelProperty("分类id")
    private Long rdBookCatId;

    private List<RdFileDto> fileList;

    private String isGxrdcwh;

    private String subtitle;
    @ApiModelProperty("是否发布")
    private String isPublish;

   // private String remark;

}
